<?php 
	require_once("../includes/public.inc.php");
	$type = isset($_GET['type'])?$_GET['type']:'';
	$id = isset($_GET['id'])?$_GET['id']:0;
	$px = mysql_fetch_array(mysql_query("select * from ".DBQIAN."rules where id=".$id." order by id desc limit 1"));
	$htmlData = '';
	if (!empty($px['content'])) {
		if (get_magic_quotes_gpc()) {
			$htmlData = htmlspecialchars_decode(stripslashes($px['content']));
		} else {
			$htmlData = htmlspecialchars_decode($px['content']);
		}
	}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>会员注册协议</title>
<meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport" />
<link type="text/css" rel="stylesheet" href="Public/skin/css/basic.css" />
<script type="text/javascript" src="Public/skin/js/jquery-1.7.2.min.js"></script>
<!--加载样式-->
<script>
$(window).load(function() {
	$("#status").fadeOut();
	$("#preloader").delay(350).fadeOut("slow");
})
</script>
</head>

<body>
<div class="w"> 
  <!--页面加载 开始-->
  <div id="preloader">
    <div id="status">
      <p class="center-text">加载中…<em>网速有点不给力哦!</em> </p>
    </div>
  </div>
  <!--页面加载 结束--> 
  <!--header 开始-->
  <header>
    <div class="header" style="background-color:#fd931b;"> 
    <a class="new-a-back" href="javascript:history.back();"> <span>返回</span> </a>
      <h2>会员注册协议</h2>
   
    </div>
  </header>
  <!--header 结束-->
  <div class="page">
    <div class="main">
      <p style="word-break:break-all;word-wrap:break-word;">
	  <?=$htmlData//iconv("gb2312","UTF-8//IGNORE",$px['content'])?>
	  </p>
    </div>
    <script type="text/javascript" >
    $(function() {
		$(".input-close").hide();
		displayPwd();
		displayPwd_PwdTwo();
		remember();
		showActionError();
		autoHeight_login();
		dispValidateCode();
		displayClearBtn();
		setTimeout(displayClearBtn, 200 ); //延迟显示,应对浏览器记住密码
	});	
</script> 
  </div>
</div>
</body>
</html>